<nb-card style="overflow-x:auto;overflow-y:hidden">
  <nb-card-header>
    查询管理
  </nb-card-header>

  <nb-card-body>
    <button (click)="ChangeCourse()" icon="refresh">交换</button>

    <div style="overflow-x: scroll;overflow-y: auto;">
      <ng2-smart-table #samrtTable [settings]="settings" [source]="source" (cellSelect)="cellSelect($event)" (create)="onSave($event)"
        (delete)="onDelete($event)">
      </ng2-smart-table>
    </div>
  </nb-card-body>
</nb-card>